<%@page import="de.ceyco.text.HtmlEntities2Latin1Charset"%>
<%    
    String error = "false";
    if( request.getParameter("action") != null && request.getParameter("qaptcha_key") != null){
        session.setAttribute("qaptcha_key", "false");
        if(HtmlEntities2Latin1Charset.convert(request.getParameter("action")).equals("qaptcha")){// falta esto
            session = request.getSession(true);
            session.setAttribute("qaptcha_key", request.getParameter("qaptcha_key"));
            out.println("{\"error\":"+error+"}");
        }else{
            error = "true";
            out.println("{\"error\":"+error+"}");
        }
    }else{
        error = "true";
        out.println("{\"error\":"+error+"}");
    }
    //out.println("{\"error\":false}");
%>
